/**
 *    @file       listenthread.h
 *
 *    @brief      
 *    @details
 *
 *    @version    1.0
 *    @date       02/19/2014 03:53:17 PM
 *
 *    @author     Theophilus (), wangtf418@gmail.com 
 */
#ifndef _SF_LISTENTHREAD_H_
#define _SF_LISTENTHREAD_H_
#include "netprocessthread.h"
#include "atomic_int.h"

class listenthread : public netprocessthread
{
public:
	listenthread(bf_uint32_t type, bf_uint32_t size, bf_uint32_t index, const comargs *args);
	virtual ~listenthread();

public:
	virtual bf_int_t init();

protected:
	static atomic_uint32 m_initflag;
};

#endif

